home *** CD-ROM | disk | FTP | other *** search
/ Network Support Library / RoseWare - Network Support Library.iso / apidev / tpapi.exe / DOCS / OLDDOCS.LZH / NWTTS.DOC < prev    next >
Text File  |  1993-04-06  |  4KB  |  94 lines

  1.                                  TTS SERVICES
  2.                                  ============
  3.  
  4. --------------------------------------------------------------------------------
  5.  
  6.   TTSAbortTransaction : WORD;
  7.  
  8.     Aborts explicit and implicit transactions.
  9.  
  10. --------------------------------------------------------------------------------
  11.  
  12.   TTSBeginTransaction : WORD;
  13.  
  14.     Begins an explicit transaction.
  15.  
  16. --------------------------------------------------------------------------------
  17.  
  18.   TTSEndTransaction (VAR TransactionNumber) : WORD;
  19.  
  20.     Ends an explicit or implicit transaction and returns a transaction reference
  21.     number.
  22.  
  23.     TransactionNumber (Output)        : transaction reference number of the
  24.                       (LONGINT)         ended transaction.
  25.  
  26. --------------------------------------------------------------------------------
  27.  
  28.   TTSGetApplicationThresholds (VAR LogicalRecordLockThreshold;
  29.                                VAR PhysicalRecordLockThreshold) : WORD;
  30.  
  31.     Returns application thresholds for implicit transactions.
  32.  
  33.     LogicalRecordLockThreshold (Output) : number of logical record locks allowed
  34.                                (BYTE)     before an implicit transaction begins.
  35.     PhysicalRecordLockThreshold (Output): number of physical record locks
  36.                                 (BYTE)    allowed before an implicit transaction
  37.                                           begins.
  38.  
  39. --------------------------------------------------------------------------------
  40.  
  41.   TTSGetWorkstationThresholds (VAR LogicalRecordLockThreshold;
  42.                                VAR PhysicalRecordLockThreshold) : WORD;
  43.  
  44.     Returns workstation thresholds for implicit transactions.
  45.  
  46.     LogicalRecordLockThreshold (Output) : number of logical record locks allowed
  47.                                (BYTE)     before an implicit transaction begins.
  48.     PhysicalRecordLockThreshold (Output): number of physical record locks
  49.                                 (BYTE)    allowed before an implicit transaction
  50.                                           begins.
  51.  
  52. --------------------------------------------------------------------------------
  53.  
  54.   TTSIsAvailable : WORD;
  55.  
  56.     Verifies whether the default file server supports transaction tracking.
  57.  
  58. --------------------------------------------------------------------------------
  59.  
  60.   TTSSetApplicationThresholds (VAR LogicalRecordLockThreshold;
  61.                                VAR PhysicalRecordLockThreshold) : WORD;
  62.  
  63.     Allows an application to set the number or record locks it can perform
  64.     without starting an implicit transaction.
  65.  
  66.     LogicalRecordLockThreshold (Input)  : number of logical record locks allowed
  67.                                (BYTE)     before an implicit transaction begins.
  68.     PhysicalRecordLockThreshold (Input) : number of physical record locks
  69.                                 (BYTE)    allowed before an implicit transaction
  70.                                           begins.
  71.  
  72. --------------------------------------------------------------------------------
  73.  
  74.   TTSSetWorkstationThresholds (VAR LogicalRecordLockThreshold;
  75.                                VAR PhysicalRecordLockThreshold) : WORD;
  76.  
  77.     Sets workstation thresholds for implicit transactions.
  78.  
  79.     LogicalRecordLockThreshold (Input)  : number of logical record locks allowed
  80.                                (BYTE)     before an implicit transaction begins.
  81.     PhysicalRecordLockThreshold (Input) : number of physical record locks
  82.                                 (BYTE)    allowed before an implicit transaction
  83.                                           begins.
  84.  
  85. --------------------------------------------------------------------------------
  86.  
  87.   TTSTransactionStatus (VAR TransactionNumber) : WORD;
  88.  
  89.     Verifies whether a transaction has been written to disk.
  90.  
  91.     TransactionNumber (Input)           : transaction reference number from
  92.                       (LONGINT)           TTSEndTransaction.
  93. ------------------------------------------------------------------------------
  94.